<?php
session_start();
require_once '../header.php';
require_once 'array.php';
function __autoload($className)
	{
    	require_once('../class/' . $className . '.class.php');
	}
session::need_member();
$Country=$_GET["country"];
$Plan=$_GET["plan"];
$Check=verify::check($Country.$Plan);
if($Plan=="our")
	{
		if($Check=="0")
		{
		$GetType1=database::LimitQuery('ccinfo',array(
		'select' => 'distinct typecc',
		'condition' => array(
		'country' => $Country,'orderid' => 0, 'userid' => 0 )
		));
		$GetType=NULL;
		foreach($GetType1 as $ShowType)
		{
			$GetType="<option value=".$ShowType['typecc'].">".$ShowType['typecc']."</option>".$GetType;
		}
		$GetType='<option value="">All</option>'.$GetType;
		}
	}
	else if($Plan=="vmarket")
	{
		$GetType=vmarket::getTypeVmarket();
	}
	else 
	{
		$GetType='<option value="">All</option>
            <option value="Master">Master</option>
			<option value="Visa">Visa</option>
            <option value="AmEx">Amex</option>
			<option value="Discover">Discover</option>';
	}
	
	
require_once '../html/findourtype.php';
?>